{extends file = "assets::smarty-templates::Master"|ToPath}

{block name="title"}Usuario / Cuenta{/block}

{block name="cache"}true{/block}

{block name="content"}
<div class="ui-text-content">
    <h2>{$user->getName()}</h2>
    <div data-role="collapsible" data-iconpos="right">
        <h3>Cambiar contrase&ntilde;a</h3>
        <form action="{$action}" method="post" data-ajax="false">
            <fieldset data-role="fieldcontain">
                <label for="originalPasss">Clave Original</label>
                <input type="password" name="originalPasss" id="originalPasss"/>
                
                <label for="newPass">Nueva Clave</label>
                <input type="password" name="newPass" id="newPass"/>
                
                <label for="newPassConfirm">Confirmar Nueva Clave</label>
                <input type="password" name="newPassConfirm" id="newPassConfirm"/>
                
                <button type="submit" data-theme="b">Cambiar contrase&ntilde;a</button>
            </fieldset>
        </form>
    </div>
    <a href="{$logout}" 
       data-role="button"
       data-ajax="false">Cerrar sesi&oacute;n</a>
</div>
{/block}